package com.jackstraw.jack_base.job.xxljob.aspect.annotation;


import org.springframework.core.annotation.AliasFor;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;


/**
 * xxljob
 */
@Inherited
@Documented
@Component
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface XxlJobHandler {

    /**
     * beanName
     *
     * @return
     */
    @AliasFor(annotation = Component.class)
    String value() default "";

    /**
     * jobHandler名称
     *
     * @return
     */
    String jobHandlerName();


}
